home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2007 December
/
PCWKCD1207B.iso
/
+ TYLKO W WERSJI CYFROWEJ +
/
PCWK_PROG
/
Source
/
120
/
ukryte2
/
fukryte2.h
< prev
next >
Wrap
C/C++ Source or Header
|
2007-07-03
|
2KB
|
58 lines
//---------------------------------------------------------------------------
#ifndef fukryte2H
#define fukryte2H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Dialogs.hpp>
#include <ExtCtrls.hpp>
#include <ExtDlgs.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TPanel *Panel1;
TScrollBox *ScrollBox1;
TScrollBox *ScrollBox2;
TImage *Image1;
TImage *Image2;
TPanel *Panel2;
TButton *Button1;
TOpenPictureDialog *OpenPictureDialog1;
TButton *Button2;
TButton *Button4;
TSavePictureDialog *SavePictureDialog1;
TEdit *Edit1;
TLabel *Label1;
TLabel *Label2;
TEdit *Edit2;
TLabel *Label3;
TEdit *Edit3;
TButton *Button3;
TPanel *Panel3;
TScrollBox *ScrollBox3;
TImage *Image3;
TLabel *Label4;
TLabel *Label5;
void __fastcall Button1Click(TObject *Sender);
void __fastcall Button4Click(TObject *Sender);
void __fastcall Button3Click(TObject *Sender);
void __fastcall Button2Click(TObject *Sender);
void __fastcall Edit3Exit(TObject *Sender);
private: // User declarations
int X_POZ, Y_POZ, RGB_POZ, BIT_POZ;
int il_r, il_g, il_b; //liczby bit≤w, przeznaczone na schowek
int daj_bit( unsigned char bajt, int poz);
unsigned char ustaw_bit( unsigned char bajt, int poz, int val);
bool zapisz_bit( int val);
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif